numbers = [1,2,3,4,5]
squared = list(map(lambda x: x**2,numbers))
print(squared)

numbers1 = [1,2,3,4,5,6,7,8]
even_numbers = list(filter(lambda x : x % 2 == 0,numbers1))
print(even_numbers)

from functools import reduce

numbers2 = [1,2,3,4,5]
product = reduce(lambda x,y:x * y,numbers2)
print(product)